package com.gskj.gulimall.auth.feign;

import club.gskj.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName ThirdPartyFeignService
 * @Description TODO
 * @Author 康纳
 * @Date 2021-03-14
 */


@FeignClient("gulimall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/sms/sendCode")
    public R sendMessage(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
